#define WIN32_LEAN_AND_MEAN
#include <windows.h>
//#include <bg_global.h>

//game_import_t gi;
//HMODULE caller;

void PluginAttach()
{
//	game_import_t (*func)(void) = (game_import_t (*)(void))GetProcAddress(caller, "JAMod_GetGameAPI");
//	gi = func();
//	gi.Printf("^2YOU CAN HAS JAMOD PLUGIN!!!\n");
}

int __stdcall DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved)
{
	switch(dwReason)
	{
		case DLL_PROCESS_ATTACH:
			//caller = (HMODULE)hModule;
			PluginAttach();
			break;
		case DLL_PROCESS_DETACH:
			break;
	}
	return 1;
}